prop = getproperty(property, validprops, VERBOSE)
Return matching char string from cell array of keywords
| property | string | String with property. This string contains the first letters of the keyword searched for. The matching is Case-Insensitive. |
| validprops | cell[] | Cell array with valid property values |
| VERBOSE | boolean | Defaults to true. If true: display list with suggested options before throwing an error |
| prop | string | String with property that matches validprops. An error will be thrown in input argument "property" does not match any element of "validprops" |
getproperty('my',{'MySpecialProperty'}) returns 'MySpecialProperty'